<?php
$this->breadcrumbs=array(
	Yii::t('category','Categories')=>array('admin'),
	Yii::t('zii','Manage'),
);
?>

<h1><?php echo Yii::t('category','Manage Categories'); ?></h1>

<?php $this->widget('bootstrap.widgets.TbGridView',array(
	'id'=>'category-grid',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		'name',
		array(
			'name'=>'type_id',
			'value'=>'$data->type->name'
		),
		'description',
		array(
            'name'=>'create_time',
            'type'=>'datetime'
        ),
		array(
			'class'=>'bootstrap.widgets.TbButtonColumn',
		),
	),
)); ?>
